Add function __env

Hi, 

I added a function that allows the use of environnement variables.

Regards,