add content_url and content_dir variables