adjust app that index.html was generated dynamically