move inline urls to variables