added 'secret_file' and fixed missing scrape