make_deps.sh: Added functions