Bugfix in the shell script which had a fatal error.