Removed debug code in replaceteam.py