this function is for the investigator actions
added the prepDay function and UTC