Modifies script.