#1 integrate the python script of image generator