support bookmarking of queries
fix runlocal