Moved query string addition further down to avoid sprintf() errors
Merge branch 'master' of github.com:jbroadway/elefant