enable to set screenshot width as third parameter