Fixed directory finding in httpd script