Rewrote saveAutograde to hopefully work with groups