Fixed path issue with cron