added configuration reader