separate scripts for the figures