Endtime setting now works