fix shell scripts for linux