Controlling responses from web service scripts