updated image directory and file parametesr