First version of scm-analysis.py empty working