An extended version of scm.go