add function to vars.sh
change install root directory