replace deleted function in bootstrap_accounting management command