Added config reading
Added config reading