Revert "fixed configuration file loading"

This reverts commit 7506dd9b1e7cef13baf84a7af98f2a642f04fe8f.