Made it.:-)
Updated shell script