Accounting with external script