fix bash script