Fixed quicksilver.rb and auto_hg.sh bugs