Changed to use properties from config file.