rename images and build up cash lottery process