finished conversion to config file usage