Handle environment variables automatically

Signed-off-by: Ken Barber <ken@bob.sh>