Added option for using either mtime or atime

Hi, please review and merge