add delete-photo function to management script