fixed setup script