updated path configuration so works correctly with multiple require configs