added kwargs to sudo and run methods and return execution result