add python script for persistent HTTP requests