Flag initialization