Added creating image_dir