adapt sample conf file