New URL logic

Signed-off-by: Kwpolska <kwpolska@gmail.com>