better image_dir for local operation