fix shell scripts