added time sync feature to cmd tool