Added validate_models_setup and added origin_id to models_setup