added exclude option to sync commands
remove smartmatch
merged ccakes #372