Changed data_url to resource