Macro help

so i am using
/script TargetByName(“Tyrant Devilsaur”, true);
/script TargetByName(“Ironhide Devilsaur”, true);
/script TargetByName(“Devilsaur”, true);
/run if UnitExists(“target”) then CastSpellByName(“INSERT-SPELL-OR-ABILITY-HERE”) end

but i want the macro to just target it and put a raid marker on it could anyone help me by telling me what i need to edit to make this target them and add a target marker to them