Updated SRL for adding external references (and nested)