Added Window Export and Import functions