Added --delete argument to sync script