Updated install script to properly remove all unnecessary files