Updated the syncomp.py for more bug checking