setup configuration reading