I have written a article about custom scripts in MOM 2005. The answer to many MOM questions is to use a custom script. This article is about how-to implement and setup a script.

http://www.momresources.org/momguides/Custom_Script_Implementation.pdf