Guide for Bifold sliding doors

These are the guide at the top and bottom of the bifold doors (see picture). The ones I have broke due to aging so I designed these for replacement. Works well at the top, though it might need a roller for the bottom ones.