Added functions to the bashFunctions.sh file