timestampping script for logging purposes