add HISTORY_PREEN.js, a script we need to add to cron function (TODO)