Added compability with dash in shell script