Now using prepared statements for inserts (speed boost)