edit logic find service script