fixing ci power switch script