Refactored entry point fragments to load in correct order.