Tweaks to scripts; updated documentation