Improve pmux script
Fix mapping