shell script function pass arguments