Update appscan.c

Updated