improve filtering in register.pl.
drwxr-xr-x - cgi-bin
drwxr-xr-x - htdocs
drwxr-xr-x - schema
drwxr-xr-x - templates