fixed the config processing to properly use the file and not the command lines