flask: Added debug.py script
scripts: Converted generate_assets.py to flask
flask: Removed outdated debug.sh script
scripts: Converted analyse.py to flask