changed code to use FastCGI for added responsiveness