settled on using sudo and os:cmd