Update functions_orig.sh