Replace startup logic.