Added sync-command to diarium script