a script to get image data, but duplicated with 42