+# Check if user provided an input
+[ -z "$1" ] && echo "No argument supplied" && exit
+
+if [ $1 = "list" ]; then
+ echo "The following charfiles are installed"
+ ls $CHARDIR/charfiles
+ exit
+else
+
+# Define charfile
+CHARFILE=$CHARDIR/charfiles/$1
+
+# Define length of shortcut
+LENGTH=$(cat $CHARFILE | cut -f 1 -d ',' -s | wc -L | cut -b 1)
+
+# MOTD
+cat /tmp/charsel/motd
+
+# Main program