added stored procedure that reseeds a table only if needed.