Add a performance header and the option to disable the MediaScanner