Applescript Class

So like other I am fairly new to Xcode an IB. I have created an applescript application and have a few different applescripts working with buttons. But I created a new applescript class to add some code there so that the main does not get to over clogged with scripts. How can I get IB to see the actions that I have on the new .applescript file, so that I can have them run from a button?

thanks for the help.

You need to instantiate the script in Interface Builder. Drag out an NSObject blue cube from the library, change its class in the Identity panel of the Inspector to your new class, and make your connections as normal.