conf file and rewrite to use it