Added scm controller code