environment variables with inheritance, resolves #14