Include correct core file