a tiny double-book accounting script