* Modify a ruby script to create figures.