add scm to the image