Replace script url by request url