Added the app and plugin code