set up switch scripts to new requirements