Added ability to set global triggers and have them stored between restarts