Added modifications to support excerpts. Reference http://mojavelinux.github.io/decks/docs-workshop/rwx2013/index.html#81.0

Signed-off-by: Conrad Gomes <conrad.s.j.gomes@gmail.com>