add screenshot upload function