added proper annotation.py with fixes to take cmd line input