Whoops. Slight problem. Removed the insert queries.