optionally allow detached sync
Merge pull request #19 from domsj/sync-detached

optionally allow detached sync