fixed script error

'figures' directory is necessary to make bookgen.rb work