adding lib script to unpacker

adding lib script and unpacker. This is make things better.