#29 Conditional require remap based on flags