fixed errors in the setup script