format and add SCM info