Bunch of improvement to this script for description of which I don't have time!