loadFrameData.hs updated