refactor image manipulation
change env for bucket name
add file extension to altered images