Added support for specifying a list of optional packages