refactor configuration so that requires happen before spec files are loaded to ensure we can programatically configure pattern