Update service.py

This would probably make the path os independent?