Updated code to support date and time text scheduling and rebuilt database