Use public directory when possible.