Unset env vars when switching off