Upgraded the script to work with the latest version of ggplot2.

opts is deprecated now, so, I replaced it by ggtitle.