port to new react-app and command line util