Adding support for multiple targets in URL