added execute permissions to installer.sh, cleaned up installer routines