State dependency chain between script, job and service