Added configuration reading