Updated to use webhandle