scripts: Use $(..) instead of deprecated `..`