audit scripts fixed