Make envdir an kwarg.