Fix remote and enable sync -c and -f