tweaked script so only vers number needs to be given as $1