Edit: function_kb2s.py