updating scan asset script to have new error and warning functions