Added feature to autodelete expired items