Merged .mca importing code