Fix shell scripts