Images generating shell script