Refactor the script file url