Fine tune startup logic.