Fixed install script, seems to work well