renamed text format to namespace module, and added permission