Support 'var' and 'create' options in env