cleanup; create localrc files