add option to support relative location URL to local module