Converted code to use npm appium-instruments package