Comments and minor changes to web service scripts