Scripts used to produce figures