Minor changes to grid-variables,install-pythia and build_packages