Added error handling when calling icommands, changed the subprocess call fct, from call to check_output, Popen