sub spaces for underscores in plugin name when registering public directory