Add flag creation