added set_house_stages script. also db changes