renamed cgiadapter.py