Added the option to read the AGI payload from a config file