Fixes to postinst cron script.