Updated the Scan workflow