auto cache deletion and distributer script