Rewrote import/export system to increase platform compatibility