Tutorial [help] apps extracted through recovery won't install

hey guys

I want to install all of my apps from a zip package through recovery (a lot faster than installing each via adb). It's fine, but I don't see the apps. I believe this is a permission issue and can't figure it out

the script :

Code:
run_program("/sbin/busybox", "mount", "/data");
package_extract_dir("data", "/data");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/app");
unmount("/data");
is this wrong ?