Revert account_period_close.py