I have a similar macro but I just use NtBuff for self buffs. I generally use a 1.2 wait time but depends on your ping to server and also graphics lag.
If it's a boss macro I wouldn't bother with hide, your tank will have the bosses attention and it's another buff you don't really need to cast.
I also don't have the /script targetunit, shouldn't really need it.