changed RuntimeConfiguration class to make use of a single method