Worked on script a bit more, tested generation of image 1