added sql mode customizations