I don't seem to get RequestStart and RequestComplete events in my script (or program).

This could be caused by one of the following problems: