Use gets for most env code
This should really be str()
Add len() builtin