added logoverwrite option