Chemical And Thermal Effects On Wellbore Stability Of Shale Formations