print datetime and directory each time its run