Modified document to include var script speed