managing open ids with a script