Fixes #1

Using env[:something] instead of env.something,
since env is a Hash.