restructure for crontab's sake