Refactored onstart.