sync python script