added -f (force) option to config command