Using $(..) instead of deprecated `..` (SC2006)
Using double quotes in variables to prevent globbing and word splitting (SC2086, SC2046)