fix bugs, add paths method to cron. Now mostly works with the website