minor changes to twss.py, finilization.