Changed boot delay function