added script to replace ming