fixing service script.