a bug was eliminated and the time efficiency increased by factor of 50
Merge branch 'master' of https://github.com/telenz/UsefulScripts_HSCP