1. Add the script to stop specifyed machine
2. Fixs several issues