Adding XML settings load functionality