Finalize maps.R and add output as maps.jpeg.