Minor fix to generation script for resource urls.