Fixed photos script.

Signed-off-by: Kevin Stone <kevinastone@gmail.com>