adding system execution with logging