Slight re-factoring - cleaning up the code slightly.
Fixing the environment, not passing values on correctly.

Adding more README info.