fixed running the scan on linux