moved scratch.py to scripts ---- delete later