added script for log times