add night mode,multi process in out to txt