Update install script

Move the location of variable directory creation only to the first
install