show script output only if it exists