run: refactor usage into a text file