scripts should only use cpu_count / 2