The script uses forward ticks for command expansion, which is incorrect in shell scripting. Use backticks or preferably the $(command) syntax for proper command expansion in shell scripts.