fix environment setup problems
remove settings import from upstudy-ingest script