Change  getScreenshots method location.