1st version of the audit script