added ids to spy docs and files