Enhance GS with Lightning Bolt (A little help)

Firstly the macro.

Sequences['ESST'] = {
    PreMacro = [[
/targetenemy [noharm][dead]
--/castsequence reset=combat [nopet] Searing totem,null
/startattack
    ]],
	'/castsequence reset=5/Target !Flame Shock,Frost Shock,Frost Shock,Frost Shock',
	'/cast Unleash Elements',
	'/cast Lava Lash',
	'/cast Stormstrike',
	'/cast Fire Nova',
	'/use !Feral Spirit',
	'/cast Lightning Bolt',
	PostMacro = [[
/use ![combat] Ascendance
/use ![combat] Elemental Mastery
/use Shamanistic Rage
/use [combat]13
/use [combat]14
/stopcasting
    ]],
}

You will notice I have commented the first castsequence. “–/castsequence reset=combat [nopet] Searing totem,null”. With this line left in Searing Totem is spammed regardless of combat due to the /stopcasting.

Anyone have any ideas how to fix this?

Also!
These lines are taken from my Gladiator Druid macro.
[[/console autounshift 0
/cast [@player,combat] Healing Touch
/console autounshift 1]],

If we can’t get the /stopcasting to work for lighting bolt. Is there anyway to use the above?