fixed up errors in setup script