R: export local_scan
R: add 'overwrite' argument to add_layout_to