Look at page 93 of the latest manual. It is FLAGS (with S) not FLAG.

If you power down your LCD, also set FLAGS=0. Before using any LCDout commands.

Ioannis