fixed graphscript

queries work in sql
test live