Script for generating CSS sprites from a series of images