how are the parameters passed to the background scanner?