consolidate repeated "if is_build" conditional
consolidate repeated lookup creation functionality

and give a descriptive name to what its doing