run function

Run the TLG-generating pipeline