Fixes install script and misc problems, swp added to gitignore