External version of SSA working. Other files changed to use SSA.