finish simplify scripts