Swapped z-min to micro switch