Added support for secure variable loading.
Added a global env() function to get secure vars.