Remove PEAR_WORKING_DIR from path to create hook & txt files
Remove double quotes around path after the variable