replace FILES_TO_COPY with STATIC_PATHS and EXTRA_PATH_METADATA