Add checkglobals.sh script to list all globals found