added cross-app scripting snippets