Add script detail endpoint.