Update gg.sh

Uses bug2.sh for variables if it is available
Merge pull request #4 from fyatre/patch-4

Update gg.sh