Fix install script

(includes code to prevent OSX files from being included)