Simple python script to upload images from a given directory