Small changing allowing config file to be read if module is scheduled with cron