revise/add some scripts for sections 2.8 and 2.9
done with section 2.8 on grid refinement