check for root permissions first