Initial import of auto-log-time.php script