Adding optional printing of date stamp