add wildcards and readonly in external resources