getDetails script from Chapter 1