Added a simple permission checker script