Revert "Removed the trigger and action BC code, as it doesn't actually work due to how BC works"

This reverts commit 1e0992e53b31911ae0d1b26392708e875a5c40c9.
Attempt to get actions/triggers working with IO blocks