simplify scripts