process by id script