Bugfixes for gsload.sh