Fix imports + global var in ./bin/syncback-service