changes for r2l piping with opencog