adding spc file support