Fixed up logging and crontab file