updating service.bat for shutdown hook