Functionality to  re-register appium with grid