You might try looking at this thread
In reply to Re: Loading a module at runtime... by hawtin in thread Loading a module at runtime... by Anonymous Monk