This script is no longer working, but has been useful in the past. The cmd line interface needs updating as well.