Added PROCESS_DIR and BUNDLE_DIR as paramater

that should do the job to give a PATH for the process dir (folder where are stored all the archives) and the bundle dir (if you specified --path=./something to bundle)

It worked on my tests