This was suggested before and even there was a little play with that (tsvstar was a little working on that, AFAIR). But CHDK goes through deep changes now and even script loader/parser is subject to changes. So there's a little possibility to add this feature right now. IHMO the system must become stable enough... However it's not a thing not to be done. In fact - I would like to see it!
Regards:)