Added appconfig file support.