add try of set environment variable
modify the cron job script