added a check for root from a shell script in admin section