shell script check if parameter exists