fixed bug in settings script.
also removed -c and added -s for syncronizing.