fix shell scripts to use bin/constants.sh