removing write shit from extract.py