Fixed 4s-query.sh script