updated to include an application config as well