added footer, made it run-ready

I had forgotten about this, and it looks like the users did not, so back to it :P
It's for an e-mail, yes - but it's mostly just a way to split long lines nicely in Python, no?