Support for loading config files (workaround for issues #125 & #70)