added setup script for switch