Copies some content over from my first site. Created a switch for debugging mode.