Added reading from config file