Use arrays and substitution to make more maintainable list of base packages