Change connect file to work when switching left/right