Working with chunk.html and hyperflask.py to improve cutting