updated to new config system