Add functions.sh file.