fix logic for start/end assignments
Merge branch 'master' of https://github.com/kotoroshinoto/LabScripts.git