Fixed "Bad Gateway"

Added Content-type: text/plain to CGI to stop "Bad Gateway" error
messages