added a --delete option to local resource collection