I never worked with them, but there seems to be a mechanism named "import hook" - google for it. That might be what you are looking for. -- Regards, Diez B. Roggisch