test for stage-specific config file first