Tweaked startup code.