I'm afraid that I do not have any access to a N9, so I can't help you out there buddy - but yes, seems that shopt is missing. After new years eve, I'll most likely optimize all of this, to see what I can do better.