I tried to replace a few things with your guided suggestion but could not get it to work. It would be helpful to get a changed script re-posted. I use a mask type 2 btw.