Oh, it looks a bit more complicated than I'm comfortable with. I'm not sure about using ECDSA.
Is there a well known/proven script that can do the same?
The best known one IMO is the bitaddress you used.
You can enter your private key on the "Wallet Details" tab and get the address instantly. But of course, you should run it offline.