Moving install commands out of shell script