Adding support for environment option.

Nice to be able to run this against a test database if you have that setup on the same machine as your development database.