update examples to use pwd and not bash