Update globus_funcs.sh to latest

Includes new functions, and change to how AWS credentials are handled.