annotation python script