added new script for testing switch restart