Fix possible NPEs with Hurt and Heal commands
Update Cast command to 0.9 syntax