Code for inserting the graphdata build. Needs to be tested, so its commented for now.