updated pdf reader to use new bash script