setting the --name flage and add sudo