Updated device initialization sequence