Added check root privileges on installation functions