Updated configuration reading part (in progress)