ADDED loading config from a file