Executing command to sync