Ensure config is properly loaded before importing entrances to avoid NullPointerException on startup