Fixed script to not exit with wrong images, move images instead to separate folder