I cant make this work can u pls help .

Sequences['HolyPo'] = { 
StepFunction = [[
		limit = limit or 1
		if step == limit then
			limit = limit % #macros + 1
			step = 1
		else
			step = step % #macros + 1
		end
	]],
PreMacro = [[
/target mouseover
]],
        '/castsequence [nomod,@focus] reset=3 Beacon of Light,null',
        '/castsequence [nomod,@focus] reset=30 !Hand of Purity',
	'/castsequence [nomod] reset=10 Flash of Light,Holy Light,Holy Light,Holy Light',
	'/castsequence [nomod] reset=25 !Eternal Flame',
	'/castsequence [nomod] reset=6 !Holy Shock',
	'/castsequence [nomod] reset=20 !Holy Prism',
        '/castsequence [mod] reset=3 Beacon of Faith,null',
        '/castsequence [mod] reset=7 Light of Dawn',
        '/castsequence [mod] reset=30 Hand of Sacrifice',
PostMacro = [[
/cast Divine Protection
/use [combat]13
/use [combat]14
]],
}

I cant make modifier commands work what am I doing wrong.