add script to generate web service