Added option for target-url as a part of normal url, instead of being limited to be passed as a parameter.