Replaced 'cat' with a simple echo and 'expr' with let.