minor script tweak