adjustments for adding device url variable