added script to make cbat names the masterIds for the objects