wrapper scripts for triggers, and trigger UI