Download the script to somewhere on your PATH, make it executable, and run it:
curl -fsSL https://gist.githubusercontent.com/erikdw/3eecfc77270e1281e4f04c89c76b68b5/raw/make-real-recents \
-o ~/.local/bin/make-real-recents && chmod +x ~/.local/bin/make-real-recents && make-real-recents