adding cleanup program
finally got queued_clients to work