Update package script to add app-dir option

Signed-off-by: Hao yunfeix <yunfeix.hao@intel.com>