modified server.sh