Fixes scope of variables in vimeo code