got printing correct for syncing
got working script