connecting to aws for screenshots