Changed server to handle png uploads