in reply to why isnt it working?

A helpful resource written by an in-house guy, Ovid, is available at this link.
AgentM Systems nor Nasca Enterprises nor Bone::Easy nor Macperl is responsible for the comments made by AgentM. Remember, you can build any logical system with NOR.