Modified srv.py