Macro help

I’m trying to combined to macros of Power Word Shield and Power Word Barrier. I want to take this power shield macro

/stopcasting
/cast Power Word: Shield

and then this power barrier macro

/cast [@cursor] Power Word: Barrier

and make it into one if possible.
This is what i have gotten to so far but i cannot cast Power Word Barrier with my shift click, any help would be nice.

#showtooltip
/stopcasting
/cast [nomod] Power Word: Shield
/cast [mod:shift] [@cursor] Power Word: Barrier

Try:

#showtooltip
/stopcasting
/cast [nomod] Power Word: Shield
/cast [mod:shift,@cursor] Power Word: Barrier

I think i found my problem. It was that I had it on my key 6 but when i tried to press Shift 6 to use Power Shield it couldn’t because I had Shift 6 bounded to something else. So I had to unbound Shift 6 then then macro worked.