Blow a fuse? Huh? Well try making the delays 2 rather than 4 (make a variable, don't put literal numbers everywhere). See what that does.
If I took out the delay I would blow a fuse because 12 V would be fed in directly.
How does your program code change whether or not 12V is fed in directly?