use pre process instruction to switch import