Bug fix
Fix wrong naming config
Add write_list function