Update global_functions.sh

little tomcat fix