Made this a lot nicer for git