moved settings/functions --> scripts/utils/utils.sh and fixed references