Rewrote EOD accounting and tasks.