Refactor for airside_retuning_rcx.py