Enhancement to run only selected SQL (only works in modern browsers)