simple unpacking script