moved urls to file, correct handling