--- /dev/null
+###RUN_PERL:
+
+# Copyright (C) 2024  Balthasar SzczepaĆski
+# 
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as
+# published by the Free Software Foundation, either version 3 of the
+# License, or (at your option) any later version.
+# 
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU Affero General Public License for more details.
+# 
+# You should have received a copy of the GNU Affero General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+use strict;
+use utf8;
+use Getopt::Long;
+use Encode::Locale ('decode_argv');
+use Encode ('encode', 'decode');
+
+###PERL_LIB: use lib '/botm/lib/post';
+use botm_common (
+       # 'read_data_file', 'write_data_file',
+       # 'read_header_file',
+       # 'merge_url',
+       # 'html_entity_decode', 'url_query_encode',
+       # 'make_temp_path'
+);
+use post_common (
+       # 'prepare_post',
+       # 'wget',
+       # 'CODE'
+);
+
+# TODO contione
\ No newline at end of file
 
-Subproject commit 92cf35c0340afcadb39f06248de26e114ad5603c
+Subproject commit 4cc21a9192d4f85d7dcee52333e5810d8aadc109
 
 RM   =/usr/bin/rm
 PERL =/usr/bin/perl
 
-BIN_PATH  = /botm/bin/test-post
-DATA_PATH = /botm/data/test-post
-LIB_PATH  = /botm/lib/test-post
-TMP_PATH  = /botm/tmp/test-post
+BIN_PATH       = /botm/bin/test-post
+DATA_PATH      = /botm/data/test-post
+DATA_FAIL_PATH = /botm/data/test-post/fail
+DATA_SENT_PATH = /botm/data/test-post/sent
+DATA_WAIT_PATH = /botm/data/test-post/wait
+LIB_PATH       = /botm/lib/test-post
+TMP_PATH       = /botm/tmp/test-post
 
 
 CONFIGFILE = settings-$(TARGET).txt settings.txt
 
 # keep these 2 lists in the same order!:
 GENERATE_FROM=\
+addpost.1.pl\
 sendpost.1.pl\
 preview.1.pl\
 post_common.1.pm
 
 TO_GENERATE=\
+addpost.pl\
 sendpost.pl\
 preview.pl\
 post_common.pm
 DIR=\
 $(BIN_PATH)\
 $(DATA_PATH)\
+$(DATA_FAIL_PATH)\
+$(DATA_SENT_PATH)\
+$(DATA_WAIT_PATH)\
 $(LIB_PATH)\
 $(TMP_PATH)
 
 HIDDEN_DIR=\
+$(DATA_FAIL_PATH)\
+$(DATA_SENT_PATH)\
+$(DATA_WAIT_PATH)\
 $(TMP_PATH)
 
 SETUID=\
-sendpost.pl
+addpost\
+sendpost
 
 EXEC=\
+addpost.pl\
 sendpost.pl\
 preview.pl
 
 PERL_WRAP_EXEC=\
+addpost\
 sendpost\
 preview
 
 
 ###MAKE_RM:    RM    = rm\r
 ###MAKE_PERL:  PERL  = perl\r
 \r
-###MAKE_BIN_PATH:  BIN_PATH  = /botm/bin/post\r
-###MAKE_DATA_PATH: DATA_PATH = /botm/data/post\r
-###MAKE_LIB_PATH:  LIB_PATH  = /botm/lib/post\r
-###MAKE_TMP_PATH:  TMP_PATH  = /botm/tmp/post\r
+###MAKE_BIN_PATH:       BIN_PATH       = /botm/bin/post\r
+###MAKE_DATA_PATH:      DATA_PATH      = /botm/data/post\r
+###MAKE_DATA_FAIL_PATH: DATA_FAIL_PATH = /botm/data/post/fail\r
+###MAKE_DATA_SENT_PATH: DATA_SENT_PATH = /botm/data/post/sent\r
+###MAKE_DATA_WAIT_PATH: DATA_WAIT_PATH = /botm/data/post/wait\r
+###MAKE_LIB_PATH:       LIB_PATH       = /botm/lib/post\r
+###MAKE_TMP_PATH:       TMP_PATH       = /botm/tmp/post\r
 \r
 \r
 CONFIGFILE = settings-$(TARGET).txt settings.txt\r
 \r
 # keep these 2 lists in the same order!:\r
 GENERATE_FROM=\\r
+addpost.1.pl\\r
 sendpost.1.pl\\r
 preview.1.pl\\r
 post_common.1.pm\r
 \r
 TO_GENERATE=\\r
+addpost.pl\\r
 sendpost.pl\\r
 preview.pl\\r
 post_common.pm\r
 DIR=\\r
 $(BIN_PATH)\\r
 $(DATA_PATH)\\r
+$(DATA_FAIL_PATH)\\r
+$(DATA_SENT_PATH)\\r
+$(DATA_WAIT_PATH)\\r
 $(LIB_PATH)\\r
 $(TMP_PATH)\r
 \r
 HIDDEN_DIR=\\r
+$(DATA_FAIL_PATH)\\r
+$(DATA_SENT_PATH)\\r
+$(DATA_WAIT_PATH)\\r
 $(TMP_PATH)\r
 \r
 SETUID=\\r
-sendpost.pl\r
+addpost\\r
+sendpost\r
 \r
 EXEC=\\r
+addpost.pl\\r
 sendpost.pl\\r
 preview.pl\r
 \r
 PERL_WRAP_EXEC=\\r
+addpost\\r
 sendpost\\r
 preview\r
 \r
 
 # You should have received a copy of the GNU Affero General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-_version: 1.0.4
+_version: 1.0.5
 
 _PERL_STR: '@_ESCAPE($0,')'
 _SHEBANG: #!$0
 _PERL_OUR: our $0 = $1;
 _PERL_OUR_STR: @_PERL_OUR(\$$0,@_PERL_STR($1))
 
+_data_fail_path = @_PATH($data_path, fail)
+_data_sent_path = @_PATH($data_path, sent)
+_data_wait_path = @_PATH($data_path, wait)
+
+
 MAKE_TARGET    = TARGET    = $target
 
 MAKE_CHMOD  = CHMOD=$chmod
 MAKE_CC    = CC   =$CC
 MAKE_CF    = CF   =$CF
 
-MAKE_BIN_PATH  = BIN_PATH  = $bin_path
-MAKE_DATA_PATH = DATA_PATH = $data_path
-MAKE_LIB_PATH  = LIB_PATH  = $lib_path
-MAKE_TMP_PATH  = TMP_PATH  = $tmp_path
+MAKE_BIN_PATH       = BIN_PATH       = $bin_path
+MAKE_DATA_PATH      = DATA_PATH      = $data_path
+MAKE_DATA_FAIL_PATH = DATA_FAIL_PATH = $_data_fail_path
+MAKE_DATA_SENT_PATH = DATA_SENT_PATH = $_data_sent_path
+MAKE_DATA_WAIT_PATH = DATA_WAIT_PATH = $_data_wait_path
+MAKE_LIB_PATH       = LIB_PATH       = $lib_path
+MAKE_TMP_PATH       = TMP_PATH       = $tmp_path
 
 
 PERL_EXPORT_VERSION    = @_PERL_OUR_STR( VERSION, $_version)