Adds script to repeatedly generate images