hmm
modifying the prtable-gen and extract definition scripts to be able to extract definitions in general