re-organize external resource path