Added initial support for CGI scripts with sub-resources