moved to utils is_sudo and get_name