Add check when building to see if multiple packages are specified + take unnecessary pptions out of loop for processing multiple packages