What is wrong with this maco?

Sequences['Domo'] = {
StepFunction = [[
		limit = limit or 1
		if step == limit then
			limit = limit % #macros + 1
			step = 1
		else
			step = step % #macros + 1
		end
	]],
    PreMacro = [[
/targetenemy [noharm][dead]
/use [nopet,nomod]summon Felguard
/petattack [@target,harm]
/petautocastoff [group] Threatening Presence
/petautocaston [nogroup] Threatening Presence
	]],
	'/use [noform: 0] Metamorphosis',
	"/castsequence Hand of Gul'dan",
	"/castsequence [modifier:shift] reset=target Corruption,Shadow Bolt,Shadow Bolt,Shadow Bolt,Shadow Bolt,Corruption,Life Tap,Shadow Bolt,Shadow Bolt,Shadow Bolt,Shadow Bolt",
	"/castsequence [modifier:ctrl] reset=target Soul Fire,Soul Fire,Soul Fire,Corruption,Life Tap,Soul Fire,Soul Fire,Soul Fire",
	'/castsequence [combat] Axe Toss',
--------'/castsequence [nochanneling] reset=20 Dark Soul: Knowledge',
	'/castsequence [combat] reset=115 Imp Swarm',
	PostMacro = [[
/castsequence [combat] reset=20 Dark Soul: Knowledge
/use [combat]13
/use [combat]14
/run UIErrorsFrame:Clear()
]],
}

This is a modified version of Jalisco Autuick macros
He has 3 gs macros named demo,demo2,demo3
All I wanted to do was, combine his demo and demo3 macros in one macro
with a modifier key.
I want it to fire shadowbolt sequence with modifier:shift
and fire soul burn sequence with modifier:ctrl

alt modifier works but other modifiers dont work.

Sequences['Domo'] = {
StepFunction = [[
		limit = limit or 1
		if step == limit then
			limit = limit % #macros + 1
			step = 1
		else
			step = step % #macros + 1
		end
	]],
    PreMacro = [[
/targetenemy [noharm][dead]
/use [nopet,nomod]summon Felguard
/petattack [@target,harm]
/petautocastoff [group] Threatening Presence
/petautocaston [nogroup] Threatening Presence
	]],
	'/use [noform: 0] Metamorphosis',
	"/castsequence Hand of Gul'dan",
	"/castsequence [nomod] reset=target Corruption,Shadow Bolt,Shadow Bolt,Shadow Bolt,Shadow Bolt,Corruption,Life Tap,Shadow Bolt,Shadow Bolt,Shadow Bolt,Shadow Bolt",
	"/castsequence [mod] reset=target Soul Fire,Soul Fire,Soul Fire,Corruption,Life Tap,Soul Fire,Soul Fire,Soul Fire",
	'/castsequence [combat] Axe Toss',
--------'/castsequence [nochanneling] reset=20 Dark Soul: Knowledge',
	'/castsequence [combat] reset=115 Imp Swarm',
	PostMacro = [[
/castsequence [combat] reset=20 Dark Soul: Knowledge
/use [combat]13
/use [combat]14
/run UIErrorsFrame:Clear()
]],
}

Ok I solved the problem like that
But if u can explain me how to use different modifiers for different castsequencers I will be very happy

Unfortunately, I will be of no service with modifier keys. I use an addon (clique) which simplifies it for me – although, I have to admit, it’s probably better to not use clique, if you aren’t already used to it, since it prevents the use of modifiers in macros.