Installer works but not script