make a few changes to allow for qa and prod dimsum api