Change notify command to accept global flags.