MakiMaki i give YOUr script a 10/10 :)
Not My snippet, I only changed a few things, few things to make it better for my use, the real credit is to pball