applied like changes from the islandora pdf module to our custom module