fixing service script