updated
changed to work with older git version(s)