--- /dev/null
+. lib/copy_dirtrees_of_tags
+. lib/ensure_packages_of_tags
+
+install_tags() {
+    _INSTALL_TAGS="$@"
+    echo "Installing packages and files for: ${_INSTALL_TAGS}"
+    ensure_packages_of_tags ${_INSTALL_TAGS}
+    copy_dirtrees_of_tags ${_INSTALL_TAGS}
+}
 
 cd $(dirname "$0")
 . lib/check_finished_marker
 . lib/constants_user  # PATH_USER_HOME
-. lib/copy_dirtrees_of_tags
-. lib/ensure_packages_of_tags
 . lib/expect_n_args
+. lib/install_tags
 
-check_finished_marker 'setup_server'
 expect_n_args 1 1 'IRC_PASSWORD' $@
 IRC_PASSWORD="$1"
 
-PATH_USER_CONF_CATGIRL="${PATH_USER_HOME}/.config/catgirl/libera"
-INSTALL_TAGS=catgirl
-
-echo "\nInstalling packages, /etc and /home files."
-ensure_packages_of_tags ${INSTALL_TAGS}
-copy_dirtrees_of_tags ${INSTALL_TAGS}
+check_finished_marker 'setup_server'
+install_tags catgirl
 
+PATH_USER_CONF_CATGIRL="${PATH_USER_HOME}/.config/catgirl/libera"
 echo "\nWriting provided password into ${PATH_USER_CONF_CATGIRL}."
 sed -i "s/REPLACE_WITH_IRC_PASSWORD/${IRC_PASSWORD}/g" "${PATH_USER_CONF_CATGIRL}"
 
 
 set -e
 cd $(dirname "$0")
 . lib/check_finished_marker
-. lib/ensure_packages_of_tags
-. lib/copy_dirtrees_of_tags
+. lib/expect_n_args
+. lib/install_tags
 
-check_finished_marker 'setup_server'
-INSTALL_TAGS=seedbox
+expect_n_args 0 0 '' $@
 
-echo "\nInstalling packages, /etc and /home files."
-ensure_packages_of_tags ${INSTALL_TAGS}
-copy_dirtrees_of_tags ${INSTALL_TAGS}
+check_finished_marker 'setup_server'
+install_tags seedbox 
 
-echo "\nActivating service."
+echo "\nActivating rtorrent tmux session service."
 systemctl enable --now rtorrent
 
--- /dev/null
+../../../bookworm/scripts/lib/set_hostname_and_hosts
\ No newline at end of file