add auto local/remote url