updated localepurge hook file