improve PoC script