need eof for cron
removed envdir logic