Updating refactor to allow more github attributes