Updating scan script with output.