allowing remote url to be variable