Adding scs python code