had to use typeset to get the right support for arithmetic in the script
Script is runnign