added executethis to getwid function - Joe