output script tweak