Support for variables in env definition
Updated example and readme