For cleaner reporting output you should merge your script with Jesse Peterson's script: https://gist.github.com/jessepeterson/8b6f09310a847e0a7aed