Changed the params for screenshotGen back as it started working