Added survey completion code.