This script can kill all the running process if you set the name as prcessName.