add aws and support thump images