fixes in factory_setup script