Looking for a working script for annotation

Hello everyone,

I am wondering if anyone would be interested to share their working script for adding annotations. Any help would be appreciated.

Thanks in advance.