adding option to print the sql --debug