modified set.sh