query object import almost done, still have issues in the script panel.