diff --git a/inotify.sh b/inotify.sh
index d4e3a75..c7dc6ae 100644
--- a/inotify.sh
+++ b/inotify.sh
@@ -17,7 +17,9 @@ inotifywait -m /out -e close_write |
 
             i=0
             while [ $i -lt $num_chunks ]; do
-                offset=$(( i * chunk_size ))
+                echo "${i}"
+                echo "${id}"
+                echo "${num_chunks}"
                 /bin/dd if="$file_path" bs=$chunk_size skip=$i count=1 2>/dev/null | \
                 /usr/bin/curl --location "$UPLOAD_URL" \
                 --header "Authorization: Bearer $AUTH_TOKEN" \