added check for root privs