Use $() instead of backticks

This is mainly a style change. `$()` is preferred because it is
easier to read compared to backticks.

In addition, you can't nest backticks, but you can nest `$()`.