Fixed some errors in shell scripts