Stop using backticks as per http://robertmuth.blogspot.com/2012/08/better-bash-scripting-in-15-minutes.html
Start preferring double brackets as per http://robertmuth.blogspot.com/2012/08/better-bash-scripting-in-15-minutes.html