added root path, and path renamed to public