Fixed Configuration File not working when templating is used.