fixed poll recent script