minor change to the env.sh script + comments

- Added a comment about the script
- Split the ugly one-liner in two comprehendable, commented commands
- Made a possible error message more useful.