Update ggo.sh

Various fixes, including removing a debug message, and fixing a directory check for the update function.