added hook for upload config, removed old opensearch file