added look up max results in config file