add sudo functionality