Functions to capture output of commands, check if root
Tries to run as root if not already (currently disabled)