added notifications when `@grant` is not found in a script

Signed-off-by: Gerald <gera2ld@163.com>