make some README examples work