I thought about screwing the ends of the 2*4 into the vertical frames. Problem with that is the vertical frame on the right is only attached to the frame that is spanning the floor, which is getting removed so will no longer be attached to anything. I just wasn't sure if it's a good idea/allowed...