app and plugin on response. Closes #1267