Well, I don't know what is wrong, here it works exactly as I posted above, it unloads the script...