Add git/gut correction and resetip function