Replace backticks with $() command substitution