Add timestamp to printed messages