register using resolved path