Removed sudo check and env dir chown.

Resolves issue #45.