Update common_functions.sh