Simple Script to generate an image, with passed parameters