mod paths to work with cron