fixed setup script problems