function inputScript(url) { var script = '