Moved functions

Moved cascaded functions from within run_channels to signal alarm
handler