Adding WIN support to the frame script