started on update-gallery bash script