Added phial script endpoint.