Backend rework phase 1
add defined JEXEC or die
Backend rework