add sudo to function utility