Alternative limit switch mounting on Z-Axis?

hey great idea! killed my z switch today. luckily i had gotten some extras