more edits for refine.py