Notify SCAN scheduler address properly, and take an additional parameter for a temporary directory path.