Sorry, as I said earlier I just edit what I have, I can't make them from scratch so I don't about what to do. Besides I use pksvui, another script editor, a more primitive one.
One thing is that you have make sure you have given correct address, I meant the correct HEX number in XSE