Clean up core initialization file