Modified the service script