added multiline and scale parameters