Changed cadet reference int to default id and fixed eagle_id function in
pop script