Made packagesToInstall a little more future proof.