Attach end caps to open gap, then secure through pre-drilled holes with wood screws.