Muck around with privileges files
Add check counter to privileges script