change options to config