Server.py modified