Initial resize_images bash function
Update progress bar