diff --git a/matrixpack.sh b/matrixpack.sh
index 4e78bb23a766446e2667eb2d73c2629918297618..6102fa0183c9bb0a999066d28f8b008e226e0b4a 100755
--- a/matrixpack.sh
+++ b/matrixpack.sh
@@ -2,7 +2,7 @@
 # Usage
 # matrixpack token homeserver directory
 # 
-# Pack name is the folder name
+# Pack name is the directory name
 # Sticker name is the file name
 # /!\ Token is a sensitive information
 
@@ -18,14 +18,14 @@ if test $# != 3 ; then
 fi
 
 # Checking if ImageMagick is installed
-if ! command -v convert &> /dev/null; then
+if ! command -v magick &> /dev/null; then
     echo "$0:ERROR: magick could not be found"
     echo "Usage : ./matrixpack.sh token homerserver directory"
     exit
 fi
 
 # Changing directory to work directly in it
-cd $3
+cd "$3"
 
 # Setting variables
 dir=$(pwd)