made server.py save images to a folder