First of all, congratulations for the script! It seems to work quite well in general. I found a couple of small problems, this is one of them as you can see in the video: https://vimeo.com/131253387