started on init script and added mail/file copy related errors to logs