Fixed compability issue with CGI and made it compability with IIS url rewrite!