changes to generate catalog script