Change modification time on files

I updated your script so it would save the date the message was sent as the modification date of the files.