Updated script to produce latex files and supplemental figures