Adding console output to the sync script