modifies script