add relay control menu and functions