Optimizing boot time