sterretje:
Please edit your post and addbefore your code and after your code. So it looks like below; that makes is easier to read and copy.
Thank you for this wonderful trick, I was wondering how to include the sketch into an easier to scroll and copy format. I have updated my script.