fixed the bash script to have the correct format