Add the all-ids script

Now actually working!