What is the correct sequence for electrically connecting (grounding) a tank vessel to shore piping?

A
Open switch, connect ground cable, close switch, connect cargo hose
B
Connect ground cable, open switch, connect cargo hose, close switch
C
Close switch, connect cargo hose, open switch, connect ground cable
D
Connect ground cable, connect cargo hose, open switch, close switch
E