diff --git a/assets/scripts/playerctl_loader.sh b/assets/scripts/playerctl_loader.sh
index 9148a02263de410d776661f250c3f2418d7b41ae..ab51ed93ffddd5e9f18a346de0ab7ce6ed6a1651 100644
--- a/assets/scripts/playerctl_loader.sh
+++ b/assets/scripts/playerctl_loader.sh
@@ -22,6 +22,7 @@ function player(){
 function cleanup_and_exit() {
   if [[ "$job_started" = "1" ]];then
     rm -fv "current.mp3" "bg.png" "cover.jpg" "cover.png"
+    find . -name '*.webm' -exec basename {} \; | xargs -I {} echo "file '{}'" > concat
     ffmpeg -f concat -i concat -c copy "compiled-$((compiled_index + 1)).webm"
     rm -fv "concat"
     popd || exit 
@@ -67,7 +68,7 @@ function render_on_gpu(){
   ffmpeg -loop 1 -init_hw_device cuda=cuda:0 \
     -hwaccel nvdec \
     -vsync 1 -async 1 \
-    -r 5 -i "$background" -i "$sound" -r 25 -i "${target_adv}" \
+    -r 3 -i "$background" -i "$sound" -r 25 -i "${target_adv}" \
     -filter_complex "[0:v]scale=w=1280:h=720:force_original_aspect_ratio=2,crop=1280:720[img]; \
     [2:v]setpts=10*PTS[adv]; \
     [adv]loop[ladv]; \
@@ -147,7 +148,6 @@ while [[ "$(player status)" = "Playing" ]];do
     echo "Cuda was found. Hardware acceleration enabled."
     render_on_gpu "bg.png" "current.mp3" "${index}" "${target_adv}"
   fi
-  echo "file '${index}.webm'" >> concat
 
   index=$((index + 1))
   if [[ "$(player next)" = "ERROR" ]];then