Add ENV[PANIC_ACTION] support to all applications