Updated relay_select.py