Update fixed Bash script