add switch_core_get_variables and allow execute_on funcs to see global vars too