python script for OT project