Initial changes for command line input to new sync option
More development work