scrip page clean up