Regarding the socket cap screws for your rails i think you will find that these are 5mm, the clearance in the hole is to allow you to adjust the rail to get it straight. i was going to reply yesterday to your post but without any design drawing to eyeball there was no input i could give.
Don't give up.
Regards
Mike