AppleScript starting when comin out of SleepMode?

Hi,

I’m new to AppleScript, and I just made my first tries to write some scripts, more or less usefull things. I made one script which starts when I’m turnin on my Mac. But as I don’t switch off my Mac very often (I put him into SleepMode) I just want that my Script starts when I’m wakin him up. So my question, is there any command which I can use to run the script while I’m wakin up the Mac?

Thank u