simple photo sync script