changed template urls to relative
Added cron script