ENV_DIR support. Closes #97

Signed-off-by: Joao Mares <joaomares@gmail.com>