add scripting in order to create pdf/epub links