server setup for saving images
merge