Fix the bash script