http://www.shellcheck.net/ tells me to use $() instead of legacy backticks