added AWS functionality to thumbnizer