in reply to require without the exec

So half the install script is a hash. How about reading in the install script, isolating the section you want, and evaling that?