finishing touches on local image storing