added dynamic adding of url