Moving to graphutils in frontend scripts