added record time/date
made allowance for paths that don't exist