Fixes #1

This fixes #1 by using `env[:something]` instead of `env.something`, since `env` is a Hash.