Fix String comparison.
Work on the sync command.