making static URL dynamic