Simplified the formula to make it less dependent upon statically configured conf files.