Work on service definition and servicescript