#608: Bash 'web_img', reorder code