analysis_worker needs readline