added logging to register, set insertSchedule to live env