switched from scriptUrl to url