Order of opperations change for to prevent premature shutdown on slow computers.