Added support for from field in config file