introduced VEIL_ENV_TYPE which is different from VEIL_ENV