add /bin/bash at header of scripts
add bin/monitor-switch