move all mel script to python