added scripts to generate figures