changed nid to link in top pages
implement hook_node_delete() and delete record
create external popularity file