Prepare script refinements