Enhanced configurability

Bundled up some configuration settings to the top of the script, and
added a bunch of toggles to turn specific bits of input on and off.
Left the output of the original script in tact as it was.
Merge pull request #1 from robdejonge/master

Adding some configurability