added ability to copy sql to clipboard