Formatting, and adding sql modes