added exclude option to sync commands