define CUBEX_ENV on failure to setup env