Switch to prepared statements