change default quote mode to S
pass session arg