add scale and max size options