Fix bash script