Add function get_path in config, change name functions render_*