added packaging directory option