Mostly works,but hilariously some bug some time delivers less than loop_length photos