different commands for different output sizes

Signed-off-by: Mattias Andrée <maandree@operamail.com>