Sorry, make sure you have the GD extension installed before running this script.