Simplefied the mess around Config file