fix scripts for service.conf