add config file to logic