replaced URI_BASENAMe with PN, directory now just PN