fixed to run from acronjob