write crontab and install scripts