Simplify script.