Updated readdata to get start date from lastdate.txt. Optional command line param will subtract X minutes from the lastdate found
Fixed datetime parsing