Fixed sundry bugs in gsload.sh