Adjusted config file reading to allow for specification at runtime.