script unpacking