support for fcgi and standalong