refine script