Script Debugger provides everything you need to quickly and easily author AppleScripts that work.
AppleScript Studio application which brings an Aqua GUI to the command line version of mp3gain...
The F-Script shell provides an interactive command line interface.