implement CWM support ( by N00bY)