move FLAGS_logtostderr to script