adding back in env