Rename sync script and add sub-commands