New script for auditing databases