setup script bugs