added sample connect/disconnect battery scripts