need to know how many images to load
still debugging python script