Implemented registerURN call and corresponding command line script.