added detection of root permission in install script