Added support for a public folder.