fixes so that the script properly parses datetime
fixes so that the script properly parses datetime
fixes so that the script properly parses datetime