Fix lives bug and replace all '!' with '$'