simplify image.sh