fixed script url bug