Thanks for your feedback, I'm glad it helps, I was really happy when I figured that out.
Here's my script, it's my first time writing Python, so bear with me ;-)
You'll have to rename it from morphbloatscanner.txt to morphbloatscanner.py, because the forum wouldn't let me upload a file with...