Tweaks to spatial figures script.