modified scripts for wsgi mounting and json mime type