refine script
auto start slave