changes screenshot code