Script was broken because the current release add mechanism assumes that the catalog is loaded.